package com.twq.corejava;

import java.io.UnsupportedEncodingException;

public class Test {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String str = "学java";
        System.out.println(str.getBytes("GBK").length);
    }
}
